package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyExpend;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyExpendParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyExpendResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gyz
 * @since 2020-10-28
 */
public interface BtyExpendService extends IService<BtyExpend> {

    /**
     * 新增
     *
     * @author gyz
     * @Date 2020-10-28
     */
    void add(BtyExpendParam param);

    /**
     * 删除
     *
     * @author gyz
     * @Date 2020-10-28
     */
    void delete(BtyExpendParam param);

    /**
     * 更新
     *
     * @author gyz
     * @Date 2020-10-28
     */
    void update(BtyExpendParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author gyz
     * @Date 2020-10-28
     */
    BtyExpendResult findBySpec(BtyExpendParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author gyz
     * @Date 2020-10-28
     */
    List<BtyExpendResult> findListBySpec(BtyExpendParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author gyz
     * @Date 2020-10-28
     */
     LayuiPageInfo findPageBySpec(BtyExpendParam param);

}
